import { ILoginData } from "@/utils";
import { request } from "umi";
// 登录接口
export let login = (data: ILoginData) => {
    return request('login', {
        method: 'POST',
        data
    })
}
// 验证码
export let getCapture = () => {
    return request('dev-api/captchaImage')
}